@import '~antd/es/style/variable.less';

.drawerContainer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  z-index: 10;
  width: 280px;
  background-color: @component-background;
  box-shadow: 4px 6px 6px @border-color-split;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  &.visible {
    transform: translateX(0);
  }
  .drawerCloseItem {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 12;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: @text-color-secondary;
    cursor: pointer;
    &:hover {
      color: @text-color;
    }
  }
}

.drawerContent {
  position: relative;
  height: 100%;
  .drawerContentHeader {
    height: 36px;
    padding: 0 48px 0 12px;
    overflow: hidden;
    font-weight: 500;
    font-size: 14px;
    line-height: 36px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .drawerContentCube {
    position: absolute;
    top: 36px;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
}
